package com.ruoyi.stock.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 表头设置对象 stock_header_settting
 * 
 * @author ruoyi
 * @date 2024-12-30
 */
public class StockHeaderSettting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 表头名称 */
    @Excel(name = "表头名称")
    @ApiModelProperty(value = "表头名称")
    private String headerName;


    /** 股票类型；1：个股香草，2：个股雪球 */
    @Excel(name = "股票类型；1：个股香草，2：个股雪球")
    @ApiModelProperty(value = "股票类型；1：个股香草，2：个股雪球")
    private String stockType;

    /** 类型：实值、虚值 */
    @Excel(name = "类型：实值、虚值")
    private Long headerType;

    // 用户id
    private Long  userId;
    // 是否已经设置;大于0；就是设置过。负责没有设置
    @ApiModelProperty(value = "大于0；就是设置过。否则没有设置")
    private  int isown;

    /** 字段 */
    @Excel(name = "字段")
    private String headerField;
    /** 表头编码 */
    @Excel(name = "表头编码")
    @ApiModelProperty(value = "表头编码")
    private String headerCode;

    /** 排序 */
    @Excel(name = "排序")
    private Long headerOrdernumber;

    /** 值1 */
    @Excel(name = "值1")
    private String value1;

    /** 值2 */
    @Excel(name = "值2")
    private String value2;

    public String getHeaderField() {
        return headerField;
    }

    public void setHeaderField(String headerField) {
        this.headerField = headerField;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public int getIsown() {
        return isown;
    }

    public void setIsown(int isown) {
        this.isown = isown;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getHeaderName() {
        return headerName;
    }

    public void setHeaderName(String headerName) {
        this.headerName = headerName;
    }

    public String getStockType() {
        return stockType;
    }

    public void setStockType(String stockType) {
        this.stockType = stockType;
    }

    public Long getHeaderType() {
        return headerType;
    }

    public void setHeaderType(Long headerType) {
        this.headerType = headerType;
    }

    public String getHeaderCode() {
        return headerCode;
    }

    public void setHeaderCode(String headerCode) {
        this.headerCode = headerCode;
    }

    public Long getHeaderOrdernumber() {
        return headerOrdernumber;
    }

    public void setHeaderOrdernumber(Long headerOrdernumber) {
        this.headerOrdernumber = headerOrdernumber;
    }

    public String getValue1() {
        return value1;
    }

    public void setValue1(String value1) {
        this.value1 = value1;
    }

    public String getValue2() {
        return value2;
    }

    public void setValue2(String value2) {
        this.value2 = value2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("headerName", getHeaderName())
            .append("headerType", getHeaderType())
            .append("value1", getValue1())
            .append("value2", getValue2())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
